package main

import (
	"fmt"
	"gitee.com/xz_123/toy-web-main/app/user"
	v3 "gitee.com/xz_123/toy-web-main/pkg/web3/v3"
)

func main() {
	server := v3.NewSdkHttpServer("my-server", v3.MetricsFilterBuilder)
	fmt.Println(server)

	server.Route("post", "/user", user.User)
	if err := server.Start(":80"); err != nil {
		panic(err)
	}

}
